<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="wd" uri="/wd-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><s:text name="welcome" /><s:text name="use" /><s:text name="title" /></title>	
<script type="text/javascript" src="${path }/back/${themeBack}/js/jquery.js"></script>
<script type="text/javascript" src="${path }/back/${themeBack}/js/chili-1.7.pack.js"></script>
<script type="text/javascript" src="${path }/back/${themeBack}/js/jquery.easing.js"></script>
<script type="text/javascript" src="${path }/back/${themeBack}/js/jquery.dimensions.js"></script>
<script type="text/javascript" src="${path }/back/${themeBack}/js/jquery.accordion.js"></script>
<script language="javascript">
	jQuery().ready(function(){
		jQuery('#navigation').accordion({
			header: '.head',
			navigation: true,		 
			posHeight: 153,
			animated: 'bounceslide'	
		});
	});
</script>
<style type="text/css">
<!--
body {
	margin:0px;
	padding:0px;
	font-size: 12px;
}
#navigation {
	margin:0px;
	padding:0px;
	width:147px;
}
#navigation a.head {
	cursor:pointer;
	background:url(${path }/back/${themeBack}/images/main_34.gif) no-repeat scroll;
	display:block;
	font-weight:bold;
	margin:0px;
	padding:5px 0 5px;
	text-align:center;
	font-size:12px;
	text-decoration:none;
}
#navigation ul {
	border-width:0px;
	margin:0px;
	padding:0px;
	text-indent:0px;
}
#navigation li {
	list-style:none; display:inline;
}
#navigation li li a {
	display:block;
	font-size:12px;
	text-decoration: none;
	text-align:center;
	padding:3px;
	border:solid 1px #ffffff;
}
#navigation li li a:hover {
	background:url(${path }/back/${themeBack}/images/tab_bg.gif) repeat-x;
	border:solid 1px #adb9c2;
}
-->
</style>
</head>
<body id="left_body">
<div>
	<ul id="navigation">
		<s:set name="menu" value="%{getUserMenu()}" scope="page" />
		<s:iterator id="key" value="#attr.menu.keySet()">
			<li>
				<a class="head"><s:property value="%{getMenuHelper().getName(#key)}"/></a>
				<ul>
					<s:iterator value="#attr.menu.get(#key)" id="id">
					<s:set name="bean" value="%{getOperateHelper().get(#id)}" scope="page" />
					<li>
						<a href="<s:url action="%{#attr.bean.link}"/>" target="main_frame"><s:property value="#attr.bean.name"/></a>
					</li>
					</s:iterator>
				</ul>
			</li>			
		</s:iterator>
	</ul>
</div>
</body>
</html>